package com.cc8w.entity;

import java.io.Serializable;
import java.util.Date;


public class UserEntity  implements Serializable {
    private static final long serialVersionUID = -6391149300294480283L;

    private int id;
    private String userName;
    private String passWord;
    private String cname;
    private String email;

    private Date createTime;

    private Date lastTime;

    public UserEntity() {

    }
    public UserEntity(int id, String userName) {
        super();
        this.id = id;
        this.userName = userName;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", cname='" + cname + '\'' +
                ", email='" + email + '\'' +
                ", createTime=" + createTime +
                ", lastTime=" + lastTime +
                '}';
    }


}
